package com.jshan.blog.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jshan.blog.base.admin.dto.SysRoleResDto;
import com.jshan.blog.base.admin.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author jshan
* @description 针对表【sys_role(系统角色表)】的数据库操作Mapper
* @createDate 2025-01-16 16:47:01
* @Entity com.jshan.blog.base.admin.entity.SysRole
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {


    @Select("select id, role_name, remark, permissions from sys_role")
    Page<SysRoleResDto> pageAll(Page<?> page);
}




